package br.edu.fanor.geract.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import br.edu.fanor.geract.entity.Atuacao;
import br.edu.fanor.geract.services.AtuacaoServicesRemote;

@Stateless
public class AtuacaoServiceImpl implements AtuacaoServicesRemote{

	@PersistenceContext(unitName="geract")
	private EntityManager on;
	
	@Override
	public Atuacao Inserir(Atuacao atuacao) {
		on.persist(atuacao);
		return atuacao;
	}

}
